//
//  YKLineEntity.h
//  YKLineChartView
//
//  Created by chenyk on 15/12/9.
//  Copyright © 2015年 chenyk. All rights reserved.
//  https://github.com/chenyk0317/YKLineChartView

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
//k线图
@interface YKLineEntity : NSObject
@property (nonatomic,assign)CGFloat open;             //开盘价
@property (nonatomic,assign)CGFloat high;             //最高价
@property (nonatomic,assign)CGFloat low;              //最低价
@property (nonatomic,assign)CGFloat close;            //收盘价
//@property (nonatomic,assign)NSInteger index;        // 貌似没用到
@property (nonatomic,strong)NSString * date;          //日期

@property (nonatomic,assign)CGFloat volume;           //成交量
@property (nonatomic,assign)CGFloat ma5;              //五日平均价
@property (nonatomic,assign)CGFloat ma10;             //十日平均价
@property (nonatomic,assign)CGFloat ma20;             //二十日平均价
//@property (nonatomic,assign)CGFloat preClosePx;     // 貌似没用到
//@property (nonatomic,strong)NSString * rate;          //升跌比率 貌似没用到



//@property (nonatomic,assign)CGFloat time;             //             Number      // 时间
//@property (nonatomic,assign)CGFloat open;             //             Number      // 开盘价
//@property (nonatomic,assign)CGFloat close;            //             Number      // 收盘价
//@property (nonatomic,assign)CGFloat highest;          //             Number      // 最高价
//@property (nonatomic,assign)CGFloat lowest;           //             Number      // 最低价
//@property (nonatomic,copy  )NSString* rise;           //             Number      // 涨跌幅
//@property (nonatomic,assign)CGFloat volume;           //             Number      // 成交量
//@property (nonatomic,assign)CGFloat daily;            //             Number      // 日均价
//@property (nonatomic,assign)CGFloat monthly;          //             Number      // 月均价
//@property (nonatomic,assign)CGFloat yearly;           //             Number      // 年均价

@end



#pragma mark--//分时图
@interface YKTimeLineEntity : NSObject
@property (nonatomic,strong)NSString * currtTime;     //时间
@property (nonatomic,assign)CGFloat preClosePx;       //收盘价或开盘价 y轴中间点
@property (nonatomic,assign)CGFloat avgPirce;         //平均价
@property (nonatomic,assign)CGFloat lastPirce;        //下一个价钱,实时价钱
//@property (nonatomic,assign)CGFloat totalVolume;    //应该是总量,貌似没有用到
@property (nonatomic,assign)CGFloat volume;         //柱形图手数 量
//@property (nonatomic,assign)CGFloat trade;          //交易,买卖  貌似也没用到
@property (nonatomic,strong)NSString * rate;          //升跌比率



//@property (nonatomic,assign)CGFloat time;             //             Number      // 时间
//@property (nonatomic,assign)CGFloat price;            //             Number      // 成交价
//@property (nonatomic,assign)CGFloat average;          //             Number      // 平均价
//@property (nonatomic,assign)CGFloat buy;              //             Number      // 买入量
//@property (nonatomic,assign)CGFloat sell;             //             Number      // 卖出量
//@property (nonatomic,assign)CGFloat volume;           //             Number      // 成交量
//@property (nonatomic,copy  )NSString* rise;           //             Number      // 涨跌幅

@end


////yjb新k线图
//@interface YJBLineEntity : NSObject
//
//@property (nonatomic,assign)CGFloat time;           //             Number      // 时间
//@property (nonatomic,assign)NSInteger open;         //             Number      // 开盘价
//@property (nonatomic,assign)NSInteger close;        //             Number      // 收盘价
//@property (nonatomic,assign)NSInteger highest;      //             Number      // 最高价
//@property (nonatomic,assign)NSInteger lowest;       //             Number      // 最低价
//@property (nonatomic,assign)CGFloat rise;           //             Number      // 涨跌幅
//@property (nonatomic,assign)NSInteger volume;       //             Number      // 成交量
//@property (nonatomic,assign)NSInteger daily;        //             Number      // 日均价
//@property (nonatomic,assign)NSInteger monthly;      //             Number      // 月均价
//
//@end
//
//
////yjb新分时图
//@interface YJBTimeLineEntity : NSObject
//
//@property (nonatomic,assign)CGFloat time;           //             Number      // 时间
//@property (nonatomic,assign)NSInteger price;        //             Number      // 成交价
//@property (nonatomic,assign)CGFloat average;        //             Number      // 平均价
//@property (nonatomic,assign)NSInteger buy;          //             Number      // 买入量
//@property (nonatomic,assign)NSInteger sell;         //             Number      // 卖出量
//@property (nonatomic,assign)NSInteger volume;       //             Number      // 成交量
//@property (nonatomic,assign)CGFloat rise;           //             Number      // 涨跌幅
//
//@end



